import { App, PluginFunction } from "../../types/app";

export function CreateUsePlugin(app: App) {
    return async (fn: ReturnType<PluginFunction>) => {
        await fn(app);
    };
}